package com.lyr.test.custom;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.springframework.lang.Nullable;


public class DbMasterAdvice implements MethodInterceptor {
    @Nullable
    @Override
    public Object invoke(MethodInvocation invocation) throws Throwable {
        System.out.println("DbMasterAdvice 被调用了，记得要火炬传递哦.....");
        return invocation.proceed();
    }
}


